package org.demo.pattern.observer;

import java.util.Observable;
import java.util.Observer;

/**
 * 
 * @author  
 * @date    2011-5-18
 * @file    org.demo.pattern.observer.NameObserver.java
 */
public class NameObserver implements Observer{

	@Override
	public void update(Observable o, Object arg) {
		System.out.println("name changed to : " + arg);
	}

}
